package com.xkcoding.orm.jdbctemplate.Clickhousejdbctemplate.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * clickHose数据源配置文件
 *
 * @author sun.wei
 */
@Data
@Component
@ConfigurationProperties(prefix = "clickhose.datasource")
public class ClickHoseProperties {

    private String url;
    private String username;
    private String password;
    private String driverClassName;
    private Integer initialSize = 10;
    private Integer minIdle = 10;
    private Integer maxActive = 100;
    private Integer maxWait = 6000;


}
